home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 14933 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: newsfeed.direct.ca!news
  2. From: dana fujikawa <dfujikaw@direct.ca>
  3. Newsgroups: comp.lang.c++
  4. Subject: help: array of stars
  5. Date: Tue, 02 Apr 1996 03:07:00 -0800
  6. Organization: none
  7. Message-ID: <31610A54.1F72@direct.ca>
  8. NNTP-Posting-Host: van-as-12a13.direct.ca
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-Mailer: Mozilla 2.0 (Win95; I)
  13.  
  14. can someone help? i've created a small program which uses the text screen. the program simply creats an array of asterisks, each of which generates a 
  15. random x axis to scroll down, and each scrolls down at a different speed (erases itself and replots at next y coord). upon reaching the bottem each star goes 
  16. back to the top(y=0), where it generates a new random asix to scroll down..
  17.  
  18. the problem: every now and then (this problem is random, but happens at some point everytime i run it), i get a one asteriskl which will not erase it self, 
  19. and the result is a downward line of asterisk's, which stay in the screen until some asterisk generates the same x axis, and erases that line..... how can i 
  20. get rid of this?   thanx.....                                            
  21.                 Dana Fujikawa
  22.                 dfujikaw@direct.ca
  23.